package com.method3;

public class Demo1Method {

    public static void main(String[] args) {
        int num = add(10,20);
        System.out.println(num);
    }

    public static int add(int a, int b){
        int c = a + b;
        return c;
    }
}
